package com.hm.system.mongo.domain.log;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.common.util.RequestLogDef;
import com.hm.system.mongo.util.SystemMongoDataDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2016年5月12日 下午10:39:31
 * @version 1.0
 * @describe
 */
@Setter
@Getter
@Document(collection = SystemMongoDataDef.Db.Mongo.PREFIX + "request_plan_log")
public class RequestPlanLog extends BaseModel {

	private static final long serialVersionUID = 1L;

	private String title;

	private String content;

	@Field("request_method")
	private RequestLogDef requestMethod;

	@Field("remote_ip_address")
	private String remoteIpAddress;

	@Field("request_url")
	private String requestUrl;

	@Field("request_parameter")
	private String requestParameter;
}
